package game;
//名字
//分数
//等级
public class User {
	//名字
	private String name;
	//分数
	private int score;
	//等级
	private String level;
	public User() {}
	public User(String name, int score, String level) {
		
		this.name = name;
		this.score = score;
		this.level = level;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public int getScore() {
		return score;
	}
	public void setScore(int score) {
		this.score = score;
	}
	public String getLevel() {
		return level;
	}
	public void setLevel(String level) {
		this.level = level;
	}
	@Override
	public String toString() {
		return "User [name=" + name + ", score=" + score + ", level=" + level + "]";
	}

}
